package com.matt.repository.care;

import com.matt.domain.care.HLDailyRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * 提问记录
 *
 */
@Repository
public interface HLDailyRecordRepository extends JpaRepository<HLDailyRecord, String>, JpaSpecificationExecutor<HLDailyRecord> {

    HLDailyRecord findTop1ByChildIdAndDailyAndDeletedIsFalse(String childId, String daily);


}
